package dao.inte;

import domain.Template;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.NoResultException;

public interface TemplateRepository extends AbstractEntityRepositoryInterface<Template> {
    @Transactional(noRollbackFor = NoResultException.class)
    Template findByKey(String key) throws Exception;
}
